/*
 * Copyright (C) 2022 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.android.tools.preview

/**
 * Marker interface for all types of Nodes in the MultiPreview graph.
 *
 * Every class or interface that should be included in the MultiPreview graph traversal needs to
 * implement this interface.
 *
 * For example, PreviewElement implements this interface as one of the main responsibilities of
 * [getPreviewNodes] is to create a PreviewElement for each Preview annotation. But at the same
 * time, [getPreviewNodes] can also return other type of PreviewNodes, for other purposes, like
 * collecting data for metrics.
 */
interface PreviewNode
